package com.gedeshidai.shumadevelop.model.entity;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 商品操作历史表
 * @TableName shoppings_history
 */

@TableName(value ="shoppings_history")
@Data
public class History implements Serializable {
    /**
     * 操作历史id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long historyId;

    /**
     * 商品id
     */
    private Long productId;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 操作时间
     */
    private Date actionTime;

    /**
     * 用户账号
     */
    private String UserAccount;

    /**
     * 备注
     */
    private String remark;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
